home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_200 / 278_03 / read.sfd < prev    next >
Text File  |  1990-02-13  |  5KB  |  130 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.                     Screen and Form Designer 
  10.                           Version 2.0
  11.  
  12.  
  13.  
  14.  
  15.                   Copyright (c) Kamran Bayegan 
  16.                     1501 Broadway, Suite 2002 
  17.                        New York, NY  10036 
  18.  
  19.  
  20.  
  21.  
  22. This tool is intended to be a supplement to your CXL library and 
  23. to help you design screens and forms that are completely compatible 
  24. with this library, regardless of the compiler or memory model you 
  25. are using. The program will generate C code you can use in your own
  26. program (a file that will automatically be given a .C extension), and
  27. an environment file (which will automatically be given an .ENV
  28. extension) which can be loaded again for editing.
  29.  
  30. SFD can be started with several switches as follows:
  31.  
  32.      SFD [-switches] [-f<filename>]
  33.           -c       To eliminate CGA snow
  34.           -m       To force monochrome attributes
  35.           -b       To use BIOS
  36.  
  37.      <filename> is the full name of the environment file you wish to
  38.      load. Please notice that the -f switch must be the last switch on
  39.      the command line. All switches after that will be ignored.
  40.  
  41. If you forget these switches just type "SFD ?" and you will see them
  42. again.
  43.  
  44. The program is so easy and intuitive that it does not need any
  45. explanations. The only assumption made is that you are familiar with
  46. the CXL library. If you find this utility useful, please use the form
  47. at the end of this file to register. This will help me spend more time
  48. improving it and will entitle you to future versions at special
  49. discount prices. 
  50.  
  51. Following is the menu hierarchy of SFD and some brief notes, where 
  52. necessary. 
  53.  
  54. Initially, you can use arrows to move around the screen. Once you 
  55. have windows (as many as your memory allows) you can navigate 
  56. through windows using PgUp and PgDn. 
  57.  
  58. WINDOW -  CREATE    Makes a 1x1 window at current cursor location. 
  59.           RESIZE 
  60.           MOVE 
  61.           SHADOW    Provides shadow in the color of your choice. 
  62.           DELETE 
  63.  
  64. COLOR -   WINDOW 
  65.           BORDER 
  66.  
  67. BORDER -  TYPE 
  68.           COLOR 
  69.  
  70. TITLE -   TEXT      Make sure your title text is not wider than 
  71.                     your window; otherwise, it will just be 
  72.                     truncated. 
  73.           COLOR 
  74.  
  75. SCRIPT              Allows you to add static text to any window in 
  76.                     ANY color you want. Once you are finished, this 
  77.                     text will be saved in a file that will later 
  78.                     be loaded by your program. Use this option to 
  79.                     design the static parts of your forms. 
  80.  
  81. FIELD     ADD       It is assumed that you are familiar with the field
  82.                     definition parameters of the CXL library. If 
  83.                     not, please refer to the CXL manual. The only 
  84.                     new thing you have to define here is the "Type" 
  85.                     of the field, which can be "S" for strings of 
  86.                     any length (1 for character), "M" for mixed 
  87.                     upper and lower strings, "N" for numeric and 
  88.                     "D" for date. These will just make the rest 
  89.                     of definitions easier. 
  90.           EDIT 
  91.           COLOR   SELECTED
  92.                   UNSELECTED
  93.                         
  94.  
  95. PROGRAM            This is the heart of the system. It generates code
  96.                    which you can mix into your program and it
  97.                    automatically creates an environment file (with the
  98.                    same name and an .ENV extension) that can later be
  99.                    loaded and edited.
  100.  
  101. QUIT 
  102.  
  103.  
  104.                       REGISTRATION FORM 
  105.  
  106. NAME      _________________________________________________________ 
  107. COMPANY   _________________________________________________________ 
  108. ADDRESS   _________________________________________________________ 
  109.           _________________________________________________________ 
  110. CITY      _________________________________________________________ 
  111. STATE     ____________________________ ZIP CODE ___________________ 
  112.  
  113. COMMENTS  _________________________________________________________ 
  114.           _________________________________________________________ 
  115.           _________________________________________________________ 
  116.  
  117. Registration Fee @ $15.00                         $ _______________ 
  118.  
  119. Shipping outside U.S. @ $5.00                     $ _______________ 
  120.  
  121.  
  122. TOTAL                                             $ _______________ 
  123.  
  124.  
  125. Send to:  Kamran Bayegan 
  126.           1501 Broadway, Suite 2002 
  127.           New York, NY  10036 
  128.  
  129.  
  130.